package com.wtwd.device.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.ser.Serializers;
import com.wtwd.device.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel(value = "血氧列表值")
public class BloodOxygenList extends BaseEntity implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty("自增主键")
    private Long id;

    @ApiModelProperty("血氧值")
    private Byte bloodOxygen;

    public BloodOxygenList() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Byte getBloodOxygen() {
        return bloodOxygen;
    }

    public void setBloodOxygen(Byte bloodOxygen) {
        this.bloodOxygen = bloodOxygen;
    }

    @Override
    public String toString() {
        return "BloodOxygenList{" +
                "id=" + id +
                ", bloodOxygen=" + bloodOxygen +
                '}';
    }
}
